package com.wing.cms.domain;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;


@Entity
@Table(name = "cms_portletinstance")
public class  Portlet {
	public static String ISNAVI_TRUE="1";
	public static String ISNAVI_FALSE="0";

  	@Id
  	@Column(name = "id")
  	private String id;
  	@Column(name = "artgroupId")
  	private String artgroupId;
  	@Column(name = "showstate")
  	private String showstate;
  	@Column(name = "titlelength")
  	private int titlelength;
  	@Column(name = "articlecount")
  	private int articlecount;
  	@Column(name = "summarylength")
  	private int summarylength;
  	@Column(name = "templateid")
  	private String templateid;
  	@Column(name = "title")
  	private String title;
  	@Column(name = "portletwidth")
  	private int portletwidth;
  	@Column(name = "portletheight")
  	private int portletheight;
  	@Column(name = "titlecolor")
  	private String titlecolor;
  	@Column(name = "isnavi")
  	private String isnavi;
  	@Column(name = "showlevel")
  	private int showlevel;
  	@Column(name = "assoportlet")
  	private String assoportlet;
  	@Column(name = "titlepic")
  	private String titlepic;
  	@Column(name = "titletype")
  	private String titletype;
  	
  	private String showArtType;

  	public void  setId(String id){
  		this.id = id;
  	}
	public String getId(){
  		return this. id; 
  	}

  	public String getArtgroupId() {
		return artgroupId;
	}
	public void setArtgroupId(String artgroupId) {
		this.artgroupId = artgroupId;
	}
  	public void  setShowstate(String showstate){
  		this.showstate = showstate;
  	}
	public String getShowstate(){
  		return this. showstate; 
  	}
  	public void  setTitlelength(int titlelength){
  		this.titlelength = titlelength;
  	}
	public int getTitlelength(){
  		return this. titlelength; 
  	}
  	public void  setArticlecount(int articlecount){
  		this.articlecount = articlecount;
  	}
	public int getArticlecount(){
  		return this. articlecount; 
  	}
  	public void  setSummarylength(int summarylength){
  		this.summarylength = summarylength;
  	}
	public int getSummarylength(){
  		return this. summarylength; 
  	}
  	public void  setTemplateid(String templateid){
  		this.templateid = templateid;
  	}
	public String getTemplateid(){
  		return this. templateid; 
  	}
  	public void  setTitle(String title){
  		this.title = title;
  	}
	public String getTitle(){
  		return this. title; 
  	}
  	public void  setPortletwidth(int portletwidth){
  		this.portletwidth = portletwidth;
  	}
	public int getPortletwidth(){
  		return this. portletwidth; 
  	}
  	public void  setPortletheight(int portletheight){
  		this.portletheight = portletheight;
  	}
	public int getPortletheight(){
  		return this. portletheight; 
  	}
  	public void  setTitlecolor(String titlecolor){
  		this.titlecolor = titlecolor;
  	}
	public String getTitlecolor(){
  		return this. titlecolor; 
  	}
	public String getShowArtType() {
		return showArtType;
	}
	public void setShowArtType(String showArtType) {
		this.showArtType = showArtType;
	}
	public String getIsnavi() {
		return isnavi;
	}
	public void setIsnavi(String isnavi) {
		this.isnavi = isnavi;
	}
	public int getShowlevel() {
		return showlevel;
	}
	public void setShowlevel(int showlevel) {
		this.showlevel = showlevel;
	}
	public String getAssoportlet() {
		return assoportlet;
	}
	public void setAssoportlet(String assoportlet) {
		this.assoportlet = assoportlet;
	}
	public String getTitlepic() {
		return titlepic;
	}
	public void setTitlepic(String titlepic) {
		this.titlepic = titlepic;
	}
	public String getTitletype() {
		return titletype;
	}
	public void setTitletype(String titletype) {
		this.titletype = titletype;
	}


}
